Skip to content

fix(codex): add safe plugin registration repair - #69

Merged
BigStrongSun merged 2 commits into
BigStrongSun:mainfrom
zhushihao:pr/codex-plugin-repair
Sep 22, 2026
Merged

BigStrongSun merged 2 commits into
BigStrongSun:mainfrom
zhushihao:pr/codex-plugin-repair

Conversation

@zhushihao

Copy link
Copy Markdown
Contributor

Summary

Codex cached plugins can be enabled while missing from the personal marketplace, leaving Codex unable to register them safely. This adds explicit detection and repair for cached Codex plugins while preserving existing marketplace entries.

Changes

  • Validate plugin manifest paths inside the Codex cache.
  • Detect enabled cached plugins missing from the personal marketplace.
  • Preserve existing marketplace entries and expose an explicit repair action.

Validation

  • Fork merge validation passed TypeScript, Prettier, and 148/1208 Vitest checks.
  • Upstream CI will run Rust formatting, Clippy, tests, and frontend checks.

Risk

  • Scoped to cached Codex plugin discovery and repair paths; does not delete user plugin files.

Detect enabled cached plugins missing from the personal marketplace, validate manifest paths inside the Codex cache, preserve existing marketplace entries, and expose an explicit repair action.\n\nCloses BigStrongSun#51
@BigStrongSun
BigStrongSun merged commit de5f05d into BigStrongSun:main Sep 22, 2026
1 of 5 checks passed
BigStrongSun added a commit that referenced this pull request Sep 22, 2026
本版内容:
- 4 个用户报告问题修复:MFJS 工具 schema 422(#87/#101)、Codex App 跨线程消息
  毒化第三方会话(#98,提交 4f76aae)、设置页"应用界面加载失败"(env injection
  空状态 wire 契约)、严格诊断版 Codex Desktop unrecognized configuration 警告。
- 社区贡献合入:#95(Responses 重复 namespace 整合)、#97(原生图片编辑官方回退
  路由)、#103(MiMo 2.6 Chat 工具调用适配)、#69(Codex 插件登记安全修复)、
  #5(actions/cache 5→6)。
- #90 Rust 依赖批次拆批与适配:3 项破坏性 major 升级回退(rusqlite 0.40、
  toml 1.0/toml_edit 0.25),其余 55 项保留并做行为等价适配(sha2 0.11 hex
  编码、hmac 0.13 KeyInit、tungstenite 0.30/axum 0.8 通配路由与提取器适配),
  详见提交 ecd6ce2。
- 既有前端测试回归修复(AddProviderDialog 保存路径补 restore 证据 mock 边界)。

改动:
- package.json / src-tauri/Cargo.toml / src-tauri/Cargo.lock /
  src-tauri/tauri.conf.json:版本 3.20.2-19 -> 3.20.2-20
- docs/release-notes/v3.20.2-20-zh.md / v3.20.2-20-en.md:发布说明

验证:
- Rust 全量单线程 4259 passed / 0 failed / 8 ignored
- 前端 vitest 1656/1656,typecheck 0 错误

本次提交由BigStrongsSun完成
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants